import fetch from 'common/src/utils/fetch'

/**
 * 列表
 */
export function findExceptions(data) {
  return fetch({
    url: '/api/cultureservice/bclExceptionSetting/findExceptionSettingList',
    method: 'POST',
    data
  })
}

/**
 * 新增
 */
export function addException(data) {
  return fetch({
    url: '/api/cultureservice/exceptionSetting/addExceptionSetting',
    method: 'POST',
    data
  })
}

/**
 * 修改
 */
export function editException(data) {
  return fetch({
    url: '/api/cultureservice/exceptionSetting/editExceptionSetting',
    method: 'POST',
    data
  })
}


/**
 * 删除
 */
export function delException(id) {
  return fetch({
    url: '/api/cultureservice/exceptionSetting/deleteExceptionSetting?id='+id,
    method: 'DELETE'
  })
}


